{if $Staff->Login() }
    {include file="texts/_sparklines.tpl"}
{else}
    {include file="_form_auth.tpl"}
{/if} 